package br.com.itc.componentes.input
{
	import mx.controls.DateField;
	import mx.events.FlexEvent;
	
	public class Data extends DateField
	{
		public function Data()
		{
			this.addEventListener(FlexEvent.CREATION_COMPLETE, init);
		}
		
		private function init(event: FlexEvent): void {
			this.formatString = "DD/MM/YYYY";
			this.yearNavigationEnabled = true;
			this.editable = true;
		}
	}
}